/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pneuservis.backend.services;

import java.util.List;
import javax.ejb.Local;
import pneuservis.backend.to.CustomerTO;
import pneuservis.backend.to.OrderPneuTO;

/**
 *
 * @author Admin
 */
@Local
public interface OrderPneuServiceLocal {

    public void createOrder(OrderPneuTO orderPneu);

    public List<OrderPneuTO> getAllOrders();

    public OrderPneuTO getOrder(Long id);

    public List<OrderPneuTO> getOrdersByCustomer(CustomerTO customer);

    public void removeOrder(OrderPneuTO orderPneu);

    public void updateOrder(OrderPneuTO orderPneu);

    public void createOrderWithCustomer(pneuservis.backend.to.OrderPneuTO orderPneu);
    
}
